package com.apadog.study.wxpay;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;



/**
 * <p>
 * 预支付参数
 * </p>
 *
 * @author Lch
 * @dateTime 2024/2/26 13:30
 */
@Data
@Accessors(chain = true)
public class WechatPayReqParam {


    /**
     * 卡板iccid
     */
    @NotBlank(message = "iccid 不能为空")
    private String iccid;

    @NotNull(message = "套餐id不能为空")
    private Integer txPackageId;

    @NotNull(message = "系列id不能为空")
    private Integer txSeriesId;

    /**
     * openId
     */
    @NotBlank(message = "openId不能为空！")
    private String openId;


}
